import request from '@/api/request.js'

function doLogin(data){
	return request({
		url: '/api/leju/front/user/doLogin',
		method: 'POST',
		data
	})
}
function doLogout(data){
	return request({
		url: '/api/leju/front/user/doLogout',
		method: 'POST',
		data
	})
}

export default {
	doLogin,
	doLogout
}